<%@ page import="java.sql.*" %>
<%@include file="../connection.jsp" %>
<%
            
            String name = request.getParameter("txtname");
            String email = request.getParameter("txtemail");
            String jeniskel = request.getParameter("txtjeniskel");
			String ses_user = request.getParameter("txtusername");
        
            String sql = "UPDATE t_user SET name='" + name + "', email='" + email + "', jeniskel='" + jeniskel + "' WHERE username='" + ses_user + "'";
            //out.print(sql);
            stmt.executeUpdate(sql);
            stmt.close();
            conn.close();
            response.sendRedirect("akunku.jsp");
%>